package com.rzj.sys_lab_assistant.service;

import com.rzj.sys_lab_assistant.entity.RecruitmentPost;
import com.rzj.sys_lab_assistant.entity.bo.RecruitmentPostBO;

import java.util.List;

/**
 * @program: sys_lab_assistant
 * @description:
 * @author: 作者
 * @create: 2021-07-01 11:14
 */
public interface IRecruitmentPostService {

    List<RecruitmentPostBO> recruitmentPostsListByAccount(String account); // 根据技术员编号获取对应的岗位列表

    List<RecruitmentPostBO> recruitmentPostsList(); // 根据技术员编号获取对应的岗位列表

    RecruitmentPostBO getRecruitmentPostById(int postId);

    int countRecruitmentPosts(int postId); // 验证报名人数是否满人

    int addRecruitmentPost(RecruitmentPost recruitmentPost);

    int updateRecruitmentPost(RecruitmentPost recruitmentPost);

    int delRecruitmentPost(int postId);

}
